package com.ljtxxhwj.myblob.mapper;

import com.ljtxxhwj.myblob.entity.Draft;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DraftMapper {
    List<Draft> select(@Param("userId") int userId);

    void delete(@Param("draftId") int draftId);

    void insert(Draft draft);

    Draft selectById(@Param("draftId") int draftId);

    void update(Draft draft);
}
